package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Shop;
import cn.wolfcode.luowowo.article.query.ShopQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IShopService {

    int deleteByPrimaryKey(Long id);

    int insert(Shop record);

    Shop selectByPrimaryKey(Long id);

    List<Shop> selectAll();

    int updateByPrimaryKey(Shop record);

    PageInfo queryByType(Long userId, ShopQuery qo);

    PageInfo queryAll(ShopQuery qo);

    void updateRest(Long shopId);
}
